projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8aee1a2
)
Move definition of xc variable, to save confusing pylint.
author
emellor@ewan
<emellor@ewan>
Tue, 20 Sep 2005 16:21:39 +0000
(17:21 +0100)
committer
emellor@ewan
<emellor@ewan>
Tue, 20 Sep 2005 16:21:39 +0000
(17:21 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendProtocol.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendProtocol.py
b/tools/python/xen/xend/XendProtocol.py
index b74a26235fe303f0654bee907d6c13ab152425d8..503af1d38bfcc7cc3b92359ab4ab718cba5a3a2e 100644
(file)
--- a/
tools/python/xen/xend/XendProtocol.py
+++ b/
tools/python/xen/xend/XendProtocol.py
@@
-22,7
+22,7
@@
import types
from encode import *
import sxp
-from xen.xend import XendRoot
; xroot = XendRoot.instance()
+from xen.xend import XendRoot
DEBUG = 0
@@
-31,6
+31,10
@@
HTTP_CREATED = 201
HTTP_ACCEPTED = 202
HTTP_NO_CONTENT = 204
+
+xroot = XendRoot.instance()
+
+
class XendError(RuntimeError):
"""Error class for 'expected errors' when talking to xend.
"""